Optimal. Leaf size=102 \[ -\frac{\left (1-e^{-2 i (d+e x)}\right )^n F^{a c+b c x} \csc ^n(d+e x) \text{Hypergeometric2F1}\left (n,\frac{e n+i b c \log (F)}{2 e},\frac{1}{2} \left (\frac{i b c \log (F)}{e}+n+2\right ),e^{-2 i (d+e x)}\right )}{-b c \log (F)+i e n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.157018, antiderivative size = 102, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {4455, 2259} \[ -\frac{\left (1-e^{-2 i (d+e x)}\right )^n F^{a c+b c x} \csc ^n(d+e x) \, _2F_1\left (n,\frac{e n+i b c \log (F)}{2 e};\frac{1}{2} \left (n+\frac{i b c \log (F)}{e}+2\right );e^{-2 i (d+e x)}\right )}{-b c \log (F)+i e n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4455
Rule 2259
Rubi steps
\begin{align*} \int F^{c (a+b x)} \csc ^n(d+e x) \, dx &=\left (e^{i n (d+e x)} \left (1-e^{-2 i (d+e x)}\right )^n \csc ^n(d+e x)\right ) \int e^{-i d n-i e n x} \left (1-e^{-2 i (d+e x)}\right )^{-n} F^{a c+b c x} \, dx\\ &=-\frac{\left (1-e^{-2 i (d+e x)}\right )^n F^{a c+b c x} \csc ^n(d+e x) \, _2F_1\left (n,\frac{e n+i b c \log (F)}{2 e};\frac{1}{2} \left (2+n+\frac{i b c \log (F)}{e}\right );e^{-2 i (d+e x)}\right )}{i e n-b c \log (F)}\\ \end{align*}
Mathematica [A] time = 0.102885, size = 102, normalized size = 1. \[ \frac{i \left (1-e^{-2 i (d+e x)}\right )^n F^{c (a+b x)} \csc ^n(d+e x) \text{Hypergeometric2F1}\left (n,\frac{e n+i b c \log (F)}{2 e},\frac{1}{2} \left (\frac{i b c \log (F)}{e}+n+2\right ),e^{-2 i (d+e x)}\right )}{e n+i b c \log (F)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.554, size = 0, normalized size = 0. \begin{align*} \int{F}^{c \left ( bx+a \right ) } \left ( \csc \left ( ex+d \right ) \right ) ^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int F^{{\left (b x + a\right )} c} \csc \left (e x + d\right )^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (F^{b c x + a c} \csc \left (e x + d\right )^{n}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int F^{c \left (a + b x\right )} \csc ^{n}{\left (d + e x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int F^{{\left (b x + a\right )} c} \csc \left (e x + d\right )^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]